package cn.edu.wfit.modules.infomanagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.wfit.common.core.annotation.Excel;
import cn.edu.wfit.common.core.web.domain.BaseEntity;

/**
 * 班级维护对象 cis_cls
 * 
 * @author 韩强
 * @date 2024-12-19
 */
public class Cls extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级id */
    private Long clsId;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String clsName;

    /** 班级显示名称 */
    @Excel(name = "班级显示名称")
    private String clsDisplayname;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    /** 班主任名字 */
    @Excel(name = "班主任名字")
    private String teacherName;
    @Excel(name = "校区id")
    private Long campusId;
    /** 所属学院 */
    @Excel(name = "所属学院")
    private Long collegeId;

    /**  学院名称 */
    @Excel(name = " 学院名称")
    private String collegeName;

    /** 专业id */
    @Excel(name = "专业id")
    private Long majorId;

    /**  专业名称 */
    @Excel(name = " 专业名称")
    private String majorName;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setClsId(Long clsId) 
    {
        this.clsId = clsId;
    }

    public Long getClsId() 
    {
        return clsId;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setClsName(String clsName) 
    {
        this.clsName = clsName;
    }

    public String getClsName() 
    {
        return clsName;
    }
    public void setClsDisplayname(String clsDisplayname) 
    {
        this.clsDisplayname = clsDisplayname;
    }

    public String getClsDisplayname() 
    {
        return clsDisplayname;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setCollegeId(Long collegeId) 
    {
        this.collegeId = collegeId;
    }

    public Long getCollegeId() 
    {
        return collegeId;
    }
    public void setCollegeName(String collegeName) 
    {
        this.collegeName = collegeName;
    }

    public String getCollegeName() 
    {
        return collegeName;
    }
    public void setMajorId(Long majorId) 
    {
        this.majorId = majorId;
    }

    public Long getMajorId() 
    {
        return majorId;
    }
    public void setMajorName(String majorName) 
    {
        this.majorName = majorName;
    }

    public String getMajorName() 
    {
        return majorName;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clsId", getClsId())
            .append("grade", getGrade())
            .append("clsName", getClsName())
            .append("clsDisplayname", getClsDisplayname())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("campusId", getCampusId())
            .append("collegeId", getCollegeId())
            .append("collegeName", getCollegeName())
            .append("majorId", getMajorId())
            .append("majorName", getMajorName())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public Long getCampusId() {
        return campusId;
    }

    public void setCampusId(Long campusId) {
        this.campusId = campusId;
    }
}
